package com.api.shopapi.service;

import com.api.shopapi.entity.AskAnswerRecordSite;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AskAnswerRecordSiteService {

    int insert( AskAnswerRecordSite askAnswerRecordSite);


    int delete(String askAnswerRecordSiteCode);


    AskAnswerRecordSite getByAskAnswerRecordSiteCode(String askAnswerRecordSiteCode);

    AskAnswerRecordSite getByAskAnswerRecordCodeSort(String askAnswerRecordCode, int sort);


    List<AskAnswerRecordSite> listByAskAnswerRecordCode(String askAnswerRecordCode);


    PageInfo<AskAnswerRecordSite> pageByAskAnswerRecordCode(int pageIndex, int pageSize, String askAnswerRecordCode);

}
